package com.chinaunicom.emergency;

import com.chinaunicom.emergency.util.ConfigUtil;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.context.annotation.Import;

/**
 * @author liliang
 */
@SpringBootApplication(exclude={DataSourceAutoConfiguration.class})
@ServletComponentScan
@Import({ConfigUtil.class})
@EnableAspectJAutoProxy(proxyTargetClass = true)
@EnableDiscoveryClient
public class JTSupervisionApplication {

    public static void main(String[] args) {
        SpringApplication.run(JTSupervisionApplication.class, args);
    }


}
